#coding=utf-8
# enumerate -- 枚举
names = ['a' , 'b' , 'c' , 'd']
count = 0
for index , value in enumerate(names) :
    print(index,value)
    if index % 2 == 1 :
        names[index] = -1
print('------&&&&&-----')
print(names)